package com.example.hidesms.bo;

import java.util.ArrayList;

import android.database.Cursor;

import com.example.hidesms.dto.BlockCallItem;
import com.example.hidesms.sqlite.DataBaseHelper;

public interface IBlockCallBO {
	public boolean insert(DataBaseHelper myDatabase, BlockCallItem sms);

	public boolean update(DataBaseHelper myDatabase, BlockCallItem sms);

	public boolean delete(DataBaseHelper myDatabase, int smsId);

	public ArrayList<BlockCallItem> getAll(DataBaseHelper myDatabase, String folderGroup, boolean flag);
	public ArrayList<BlockCallItem> getAllByRead(DataBaseHelper myDatabase, String read);

	public ArrayList<BlockCallItem> getById(DataBaseHelper myDatabase, int smsId);
	public ArrayList<BlockCallItem> getByAdress(DataBaseHelper myDatabase, String address);

}
